* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f9f9f9;
  font-family: '微软雅黑';
  line-height: 1.6;
}

input {
  background: none;
  border: none;
  outline: none;
}

button {
  border: none;
  background: none;
}

button:focus {
  outline: 0;
}

select {
  background: none;
  border: none;
  display: block;
  outline: none;
}

ul,
li {
  list-style: none;
}

header {
  position: relative;
}

header .bg {
  width: 100%;
}

header .bg img {
  display: block;
  width: 100%;
}

header .info {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding-bottom: 15px;
  padding-top: 15px;
}

header .info .info-change {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  border-radius: 0 6px 99px 0;
  font-size: 12px;
  padding: 6px 16px 6px 10px;
  color: #2589fd;
}

header .info .info-l {
  display: flex;
  align-items: center;
  padding-left: 16px;
}

header .info .info-l i {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0 8px;
  background: #D2691D;
  font-size: 14px;
  z-index: 10;
}

header .info .info-l .avator {
  display: flex;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
}

header .info .info-l .avator img {
  display: block;
  width: 100%;
}

header .info .info-l .info-detail {
  flex: 1;
  padding-left: 20px;
}

header .info .info-l .info-detail p {
  margin: 0;
  color: #fff;
}

header .info .info-l .info-detail span {
  color: #fff;
  font-size: 12px;
}

header .info .info-r {
  position: absolute;
  right: 0;
  top: 40px;
}

header .info .info-r span {
  background-color: #fff;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  color: cornflowerblue;
  height: 20px;
  display: inline-block;
  font-size: 12px;
  padding: 6px;
  line-height: 20px;
}

header .info .info-r em {
  font-weight: bolder;
  font-style: normal;
  font-size: 16px;
}

.content {
  width: 100vw;
  box-sizing: border-box;
  padding: 4vw;
  margin-top: 0;
}

.main {
  width: 100%;
  position: relative;
  left: 0;
  top: 0;
}

.rectangle {
  width: 100%;
  height: 26vw;
  background-color: #fff;
  padding: 3vw 3vw;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.search {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 999px;
  box-sizing: border-box;
}

.search .select {
  width: 60%;
}

.search .select select {
  font-size: 14px;
  color: #ccc;
  margin: 0;
  width: 100%;
  padding: 5px 0;
}

.search .select select option {
  color: #999;
  font-size: 14px;
}

.search img.icon {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0.3;
  padding: 5px 5px;
}

.search input {
  flex: 1;
  padding: 5px 0;
  padding-left: 10px;
  font-size: 14px;
  color: #333;
  width: 140px;
}

.search input::placeholder {
  color: #ccc;
}

.search button {
  border-radius: 999px;
  font-size: 12px;
  background-color: #2589fd;
  color: #fff;
  padding: 8px 10px;
  box-sizing: border-box;
  width: 100px;
}

.tab {
  list-style: none;
  display: flex;
  margin-left: 0;
  padding-left: 0;
  padding-bottom: 0;
}

.tab li {
  display: inline-block;
  flex: 1;
  text-align: center;
  padding-bottom: 0.8em;
}

.tab li.active {
  /* border-bottom: 2px solid #2589fd; */
  color: #2589fd;
}

.tab li .active-box {
  display: none;
  width: 40%;
  height: 4px;
  margin: 0 auto;
  background-color: #2589fd;
  border-radius: 999px;
  margin-top: 10px;
}

.tab li.active .active-box {
  display: block;
}

.box .active {
  display: block;
}

.box .container {
  display: none;
}

.order {
  width: 92vw;
  background-color: #fff;
  border-radius: 8px;
  margin-top: 10px;
  position: relative;
}

.order-detail ul {
  padding: 10px 10px 10px 20px;
}

.order-detail ul li {
  height: 6.6667vw;
  line-height: 6.6667vw;
  /* display: flex; */
  font-size: 12px;
}

.order-detail ul li span {
  color: #000;
}

.order-detail ul li span:nth-child(1) {
  display: inline-block;
  vertical-align: middle;
  color: #aaa;
}

.order-detail ul li span:nth-child(2) {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  vertical-align: bottom;
  width: 40vw;
  display: inline-block;
}

.order-detail ul li .status {
  position: absolute;
  right: 4vw;
  color: #46c0fc;
}

.order-detail ul li .uncomment {
  color: #ff5f42;
}

.comment-link {
  position: absolute;
  right: 10px;
  bottom: 50px;
  background-color: #07ce8f;
  padding: 6px 8px;
  border-radius: 4px;
  border: none;
  color: #fff;
  font-size: 12px;
}

.comment-code {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: #46c0fc;
  padding: 6px 8px;
  border-radius: 4px;
  border: none;
  color: #fff;
  font-size: 12px;
}

.loading-text {
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 10px 0;
}

#pop {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: none;
}

.show-box {
  width: 80%;
  background-color: #fff;
  border-radius: 4px;
  position: fixed;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 12;
  padding: 20px;
  box-sizing: border-box;
  display: none;
}

.show-box .avators {
  text-align: center;
}

.show-box .avators div {
  position: relative;
  /* height: 4rem; */
}

.show-box .avators img {
  width: 28%;
  margin: 0 auto;
  border-radius: 50%;
}

.show-box .avators img:nth-child(1) {
  /* animation: scaleDown 2s linear normal forwards; */
  /* transition: scale(1.1) 4s; */
  /* animation-fill-mode: forwards; */
  /* position: absolute;
  left: 35%; */
  display: none;
}

.show-box .avators img:nth-child(2) {
  /* animation: scaleUp 2s linear normal forwards; */
  /* animation-fill-mode: forwards; */
  /* position: absolute;
  left: 50%; */
}

.show-box .title {
  text-align: center;
  font-size: 14px;
  padding: 10px 0;
}

.show-box .title .current-ID {
  font-size: 18px;
  color: #46c0fc;
  font-weight: bold;
}

.IDlist {
  width: 40%;
  margin: 0 auto;
}

.IDlist .change-btn {
  padding-bottom: 10px;
}

.IDlist button {
  display: block;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 10px;
}

.IDlist .change-btn button {
  background-color: #46c0fc;
  color: #fff;

}

.IDlist .back-btn button {
  border: 1px solid #46c0fc;
  color: #46c0fc;
}

#popQrcode {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 12;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
}

#popQrcode img {
  width: 140px;
  height: 140px;
  background-color: #2589FD;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes scaleUp {
  0% {
    transform: scale(.8);
  }

  6.25% {
    transform: scale(.825);
  }

  12.5% {
    transform: scale(.85);
  }

  18.75% {
    transform: scale(.875);
  }

  25% {
    transform: scale(.9);
  }

  31.25% {
    transform: scale(.925);
  }

  37.5% {
    transform: scale(.95);
  }

  43.75% {
    transform: scale(.975);
  }

  50% {
    transform: scale(1);
  }

  56.25% {
    transform: scale(1.075);
  }

  62.5% {
    transform: scale(1.05);
  }

  68.75% {
    transform: scale(1.075);
  }

  75% {
    transform: scale(1.1);
  }

  81.25% {
    transform: scale(1.125);
  }

  87.5% {
    transform: scale(1.15);
  }

  93.75% {
    transform: scale(1.175);
  }

  100% {
    transform: scale(1.2);
  }
}

@keyframes scaleDown {
  0% {
    transform: scale(1.2);
  }

  6.25% {
    transform: scale(1.175);
  }

  12.5% {
    transform: scale(1.15);
  }

  18.75% {
    transform: scale(1.125);
  }

  25% {
    transform: scale(1.1);
  }

  31.25% {
    transform: scale(1.075);
  }

  37.5% {
    transform: scale(1.05);
  }

  41.75% {
    transform: scale(1.025);
  }

  50% {
    transform: scale(1);
  }

  56.25% {
    transform: scale(.975);
  }

  62.5% {
    transform: scale(.95);
  }

  68.75% {
    transform: scale(.925);
  }

  75% {
    transform: scale(.9);
  }

  81.25% {
    transform: scale(.875);
  }

  87.5% {
    transform: scale(.85);
  }

  93.75% {
    transform: scale(.825);
  }

  100% {
    transform: scale(.8);
  }
}


.clearfix:after {
  content: "020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  /* 触发 hasLayout */
  zoom: 1;
}



/* 高清显示屏(设备像素比例大于等于2)  */
@media only screen and (min-device-pixel-ratio:2) {
  .search .select {
    width: 100%;
  }

  .search .select select {
    font-size: .4rem;
  }

  .tab li {
    /* font-size: .6rem; */
  }
}

/* 高清显示屏(设备像素比例大于等于3)*/
@media only screen and (min-device-pixel-ratio:3) {
  .search .select {
    width: 100%;
  }

  .search .select select {
    font-size: .4rem;
  }

  .tab li {
    /* font-size: .6rem; */
  }
}